//
//  NYFriendTrendsViewController.m
//  百思不得姐
//
//  Created by Apple on 15/8/22.
//  Copyright (c) 2015年 Neal. All rights reserved.
//

#import "NYFriendTrendsViewController.h"
#import "NYLoginViewController.h"
#import "NYFollowViewController.h"
@interface NYFriendTrendsViewController ()

@end

@implementation NYFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = NYGlobalBg;
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithTarget:self action:@selector(btnClick) image:[UIImage imageNamed:@"friendsRecommentIcon"] Highlightedimage:[UIImage imageNamed:@"friendsRecommentIcon-click"]];

}
- (void)btnClick{
    UIViewController *vc = [[NYFollowViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];

}
- (IBAction)loginClick:(UIButton *)sender {
    NYLoginViewController *loginvc = [[NYLoginViewController alloc]initWithNibName:@"NYLoginViewController" bundle:nil];
    [self presentViewController:loginvc animated:YES completion:^{
        
    }];
    
}
@end
